#ifndef STATUSBAR_H
#define STATUSBAR_H

#include <stddef.h>
//#include <raygui.h>

#ifdef __cplusplus
extern "C"
{
#endif // __cplusplus

void drawStatusbar(Rectangle *rec, unsigned int fileIdx, unsigned int fileCount, unsigned int offset, unsigned int baseSize, unsigned int packedSize)
{
	GuiStatusBar((Rectangle) { rec->x, rec->y, 201, rec->height }, TextFormat("Files: %d / %d", fileIdx, fileCount));
	GuiStatusBar((Rectangle) { 200, rec->y, rec->width - 200 - 250 - 250 + 1, rec->height }, TextFormat("Offset: %d", offset));
	GuiStatusBar((Rectangle) { rec->width - 250 - 250, rec->y, 251, rec->height }, TextFormat("File Size: %d bytes", baseSize));
	GuiStatusBar((Rectangle) { rec->width - 250, rec->y, 250, rec->height }, TextFormat("Packed Size: %d bytes", packedSize));
}

#ifdef __cplusplus
}
#endif // __cplusplus

#endif // STATUSBAR_H